@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>领导审核管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="condition" name="审核单号" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Audit.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="AuditTableToolbar" role="group">
                        <!--若想将添加显示，则将链接改为/audit/add"-->
                            @if(shiro.hasPermission("/audit/add0")){
                                <#button name="添加" icon="fa-plus" clickFun="Audit.openAddAudit()"/>
                            @}
                            @if(shiro.hasPermission("/audit/update")){
                                <#button name="审核" icon="fa-edit" clickFun="Audit.openAuditDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/audit/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Audit.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/audit/pass")){
                            <#button name="已通过" icon="fa-check" clickFun="Audit.pass()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/audit/notPass")){
                            <#button name="未通过" icon="fa-remove" clickFun="Audit.notPass()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/audit/notAudit")){
                            <#button name="未审核" icon="fa-remove" clickFun="Audit.notAudit()" space="true"/>
                            @}
                        </div>
                        <#table id="AuditTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/caigou/audit/audit.js"></script>
@}
